﻿function GetMap(container, opts) {
	var options = jQuery.extend(
		{
			enableClickableLogo: false, 
			enableSearchLogo: false, 
			showCopyright: false,
			showMapTypeSelector: false,
			showScalebar: false,
			showDashboard: false,
			credentials: 'AieZ059tJXEVS2DG09C5KGdkamMJu7mGbtEVO4wAy9LdYFLhWDhxIzD8ZwMubmfd',
			mapTypeId: Microsoft.Maps.MapTypeId.road,
		}, opts);
     
 	return new Microsoft.Maps.Map(container, options);
};



